home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 001-025 / disk_015 / fish / atomize < prev    next >
Text File  |  1992-05-06  |  822b  |  38 lines

  1. .Key file
  2. ;           Atomizes a C program                       Version 1.02
  3. failat 65535
  4. if not exists df1:examples/<file$t1>.o
  5. echo "File examples/<file$t1>.o does not exist.  Try again."
  6. skip END
  7. endif
  8.  
  9. copy df1:examples/<file$t1>.o ram:<file$t1>.o
  10.  
  11. if not exists ram:<file$t1>.o
  12. echo "File <file$t1>.o not copied to ram: Error..."
  13. skip END
  14. endif
  15.  
  16. echo "-- atomizing <file$t1>..."
  17.  
  18. df1:c/atom ram:<file$t1>.o ram:<file$t1>.o.TMP -cdb -pc
  19.  
  20. if not exists ram:<file$t1>.o.TMP
  21. echo "File ram:<file$t1>.o.TMP does not exist. Error..."
  22. skip END
  23. endif
  24.  
  25. delete df1:examples/<file$t1>.o
  26.  
  27. copy ram:<file$t1>.o.TMP df1:examples/<file$t1>.o
  28.  
  29. if not exists df1:examples/<file$t1>.o
  30. echo "File ram:<file$t1>.o not copied to df1:examples/
  31. copy ram:<file$t1>.o df1:examples/<file$t1>.o
  32. skip END
  33. endif
  34.  
  35. delete ram:<file$t1>.o
  36.  
  37. LAB END
  38.